package com.dominator.enums;


public enum  ReqEnums  {

    SYS_ERROR("400", "系统异常"),
    REQ_SUCCESS("200", "请求成功"),
    REQ_INCORRECT_PHONE_NUM("101", "手机号不正确"),
    REQ_PARAM_MISS("102", "请求参数缺少"),
    REQ_TOKEN_FALSE("103", "请求过期"),
    REQ_INCORRECT_CODE("104", "短信验证码错误"),
    REQ_PARAM_ERROR("105", "请求参数错误"),
    REQ_RESULT_NULL("106", "请求结果为空"),
    REQ_ORDER_ERROR("107", "订单生成失败"),
    REQ_TRADE_ERROR("109", "交易失败"),
    REQ_UPDATE_ERROR("110", "更新失败"),
    REQ_EMAIL_ERROR("111", "发送邮件失败"),
    REQ_MONTH_BILL_ERROR("112", "该月份暂无账单"),
    REQ_USER_NOT_EXSIT("113", "用户名不存在"),
    REQ_WRONG_PASSWORD("114", "密码错误"),
    REQ_NOT_COMPANY_USER("115", "非企业用户"),
    REQ_NOT_PASS_CODE("116", "该通行码不存在"),
    REQ_NOT_QR_CODE("117", "二维码解析错误"),
    REQ_NOT_GARDEN_USER("118", "非园区用户"),
    REQ_USER_REPEAT("119", "用户已存在")

    ;

    /**
     * code
     */
    private String code;
    /**
     * msg
     */
    private String msg;


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    private ReqEnums(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
